home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat4 / services.z / services
Text File  |  1998-10-20  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))                                                        SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      services - service name database
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The ////eeeettttcccc////sssseeeerrrrvvvviiiicccceeeessss file contains information regarding the known services
  13.      available in the Internet.  For each service a single line should be
  14.      present with the following information:
  15.  
  16.         +o official service name
  17.  
  18.         +o port number
  19.  
  20.         +o protocol name
  21.  
  22.         +o aliases (optional)
  23.  
  24.      Items are separated by any number of blanks and/or tab characters.  The
  25.      port number and protocol name are considered a single _i_t_e_m; a ``/'' is
  26.      used to separate the port and protocol (e.g. ``512/tcp'').  A ``#''
  27.      indicates the beginning of a comment; characters up to the end of the
  28.      line are not interpreted by routines which search the file.
  29.  
  30.      Service names may contain any printable character other than a field
  31.      delimiter, newline, or comment character.  For example,
  32.  
  33.           smtp    25/tcp    mail
  34.  
  35.  
  36. DDDDEEEETTTTEEEERRRRMMMMIIIINNNNIIIINNNNGGGG UUUUSSSSAAAAGGGGEEEE
  37.      It is sometimes useful to be able to determine which processes are using
  38.      a particular port.  This can be accomplished using the _f_u_s_e_r(1M) command.
  39.      For example, in order to see which processes are listening on TCP port
  40.      25, the command
  41.  
  42.           fuser 25/tcp
  43.  
  44.      can be used.  Note that _f_u_s_e_r only accepts service names in their numeric
  45.      form; symbolic names such as ``smtp'' cannot be used.
  46.  
  47. FFFFIIIILLLLEEEESSSS
  48.      /etc/services
  49.  
  50.      If the NFS option is installed and NIS is running, the _g_e_t_s_e_r_v_e_n_t(3N)
  51.      library routines only access this file if no entry was found in the NIS
  52.      database.
  53.  
  54. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.      fuser(1M), getservent(3N)
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))                                                        SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))
  71.  
  72.  
  73.  
  74. BUGS
  75.      A name server should be used instead of a static file.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.